package cn.base.demo2;

import java.util.Scanner;

public class Code05 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int number = sc.nextInt();
        if (number % 3 == 0) {
            System.out.println(number + "能被3整除");
        }
        if (number % 5 == 0) {
            System.out.println(number + "能被5整除");
        }
        if (number % 7 == 0) {
            System.out.println(number + "能被7整除");
        }
        if (number % 3 != 0 && number % 5 != 0 && number % 7 != 0) {
            System.out.println(number + "不能被3,5,7任一个整除");
        }
    }
}
